package cn.yinyu.queue.module.ecg.controller.admin.devrent.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.yinyu.queue.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.yinyu.queue.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 装机拆机分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DevRentPageReqVO extends PageParam {

    @Schema(description = "预约申请号", example = "2024435")
    private String applyNo;

    @Schema(description = "就诊流水号", example = "2024546")
    //@NotEmpty(message = "就诊流水号")
    private String episodeId;

    @Schema(description = "设备编号", example = "3986")
    private String devId;

    @Schema(description = "患者编号", example = "4973")
    private String patId;

    @Schema(description = "患者名称", example = "嘉木")
    private String patName;

    @Schema(description = "装机时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] rentTime;

    @Schema(description = "拆机时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] returnTime;

    @Schema(description = "录入时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] entryTime;

    @Schema(description = "干扰数")
    private Integer interference;

    @Schema(description = "基线粗")
    private String baseline;

    @Schema(description = "脱离")
    private String detachment;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态")
    private Integer state;

    @Schema(description = "已付款")
    private Integer paid;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}